const URL = `/api/functions`;

function funUrl(url) {
  return `${URL}/${url}`;
}

import { defineConfig } from 'vitepress';

export default defineConfig({
  title: 'SnobyUtils',
  description: '一个实用工具库库',
  base: '/',
  themeConfig: {
    nav: [
      { text: '主页', link: '/' },
      { text: 'API 文档', link: '/api/' },
    ],
    sidebar: {
      '/api/': [
        {
          text: 'API 文档',
          items: [{ text: '概述', link: '/api/' }],
        },
      ],
    },
  },
});
